window.onload=function(){
    console.log('2s')
    var ownNoticeflag=true
    document.getElementsByClassName('first')[1].onclick = function(){
        location.href="index.html"
    }
    document.getElementsByClassName('second')[0].onclick = function(){
        location.href="personal.html"
    }
    $('.second:last-child').on('click',function(){
        if(ownNoticeflag==true){
            $('#ownNotice').css('display','inline-block')
            ownNoticeflag=false
        }
        else{
            $('#ownNotice').css('display','none')
            ownNoticeflag=true
        }
       
    })   
}
